home *** CD-ROM | disk | FTP | other *** search
- /*
- * RZRefCountedList - a List that implements reference counting
- *
- * You may freely copy, distribute and reuse the code in this example.
- * This code is provided AS IS without warranty of any kind, expressed
- * or implied, as to its fitness for any particular use.
- *
- * Copyright 1995 Ralph Zazula (rzazula@next.com). All Rights Reserved.
- *
- */
-
- #import <objc/List.h>
- #import <machkit/reference.h>
-
- @interface RZRefCountedList : List <NXReference>
- {
- unsigned int refs;
- }
-
- - addReference;
- - free;
- - (unsigned int)references;
- - freeObjects;
-
- @end
-
-